Optimal. Leaf size=99 \[ -\frac{e^{2 a} 2^{-\frac{3}{n}-2} x^3 \left (-b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},-2 b x^n\right )}{n}-\frac{e^{-2 a} 2^{-\frac{3}{n}-2} x^3 \left (b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},2 b x^n\right )}{n}-\frac{x^3}{6} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.136861, antiderivative size = 99, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5362, 5361, 2218} \[ -\frac{e^{2 a} 2^{-\frac{3}{n}-2} x^3 \left (-b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},-2 b x^n\right )}{n}-\frac{e^{-2 a} 2^{-\frac{3}{n}-2} x^3 \left (b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},2 b x^n\right )}{n}-\frac{x^3}{6} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5362
Rule 5361
Rule 2218
Rubi steps
\begin{align*} \int x^2 \sinh ^2\left (a+b x^n\right ) \, dx &=\int \left (-\frac{x^2}{2}+\frac{1}{2} x^2 \cosh \left (2 a+2 b x^n\right )\right ) \, dx\\ &=-\frac{x^3}{6}+\frac{1}{2} \int x^2 \cosh \left (2 a+2 b x^n\right ) \, dx\\ &=-\frac{x^3}{6}+\frac{1}{4} \int e^{-2 a-2 b x^n} x^2 \, dx+\frac{1}{4} \int e^{2 a+2 b x^n} x^2 \, dx\\ &=-\frac{x^3}{6}-\frac{2^{-2-\frac{3}{n}} e^{2 a} x^3 \left (-b x^n\right )^{-3/n} \Gamma \left (\frac{3}{n},-2 b x^n\right )}{n}-\frac{2^{-2-\frac{3}{n}} e^{-2 a} x^3 \left (b x^n\right )^{-3/n} \Gamma \left (\frac{3}{n},2 b x^n\right )}{n}\\ \end{align*}
Mathematica [A] time = 1.43503, size = 89, normalized size = 0.9 \[ -\frac{x^3 \left (3 e^{2 a} 8^{-1/n} \left (-b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},-2 b x^n\right )+3 e^{-2 a} 8^{-1/n} \left (b x^n\right )^{-3/n} \text{Gamma}\left (\frac{3}{n},2 b x^n\right )+2 n\right )}{12 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.07, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ( \sinh \left ( a+b{x}^{n} \right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.22367, size = 111, normalized size = 1.12 \begin{align*} -\frac{1}{6} \, x^{3} - \frac{x^{3} e^{\left (-2 \, a\right )} \Gamma \left (\frac{3}{n}, 2 \, b x^{n}\right )}{4 \, \left (2 \, b x^{n}\right )^{\frac{3}{n}} n} - \frac{x^{3} e^{\left (2 \, a\right )} \Gamma \left (\frac{3}{n}, -2 \, b x^{n}\right )}{4 \, \left (-2 \, b x^{n}\right )^{\frac{3}{n}} n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x^{2} \sinh \left (b x^{n} + a\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \sinh ^{2}{\left (a + b x^{n} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \sinh \left (b x^{n} + a\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]